/**
 * 
 */
package org.cuatrovientos.es;

/**
 * @author beatriz_sola
 *
 */
public class Car {

	private String name;
	private String branch;
	/**
	 * @param name
	 * @param branch
	 */
	public Car(String name, String branch) {
		this.name = name;
		this.branch = branch;
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the branch
	 */
	public String getBranch() {
		return branch;
	}
	/**
	 * @param branch the branch to set
	 */
	public void setBranch(String branch) {
		this.branch = branch;
	}
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "Car [name=" + name + ", branch=" + branch + "]";
	}




}

